﻿using System.ComponentModel.DataAnnotations;

namespace Framework.Poco
{
    /// <summary>
    /// 具有名称的POCO
    /// </summary>
    public class NamedPoco : BasePoco
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Required(ErrorMessage = "名称不能为空!")]
        public string Name { get; set; }
    }
}
